package days9.abstractclass;

/**
 * @Author fengzihao
 * @Date 2024-04-23 20:04
 */
public abstract class Person {
    String name;

    public Person(){
        name = "张三";
    }
    public Person(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public abstract void showInfo();
}

